package com.lgl.allpeoplevent.system.service;

import com.lgl.scsapi.base.dao.DaoSupport;
import com.lgl.scsapi.system.model.PageData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 广告投放service
 */

@Service
public class PutADService {
	@Autowired
	private DaoSupport dao;

	/**
	 * 保存投放广告
	 * @param pd 广告参数
	 * @return 成功的行数
	 */
	public int savePutAD(PageData pd){
		return dao.save("PutADMapper.savePutAD", pd);
	}

}